<template>
  <div class="sport">
    <div class="ball_box__Gbv5A">
      <div class="fadeInLeft icon__3hKmh">
        <img src="@/assets/img/games/ball_背景.png" alt="tiyu" />
      </div>
      <div class="fadeInRight text__3EI77">
        <div class="tit__3lMQF">
          <img src="@/assets/img/games/foot_logo.a663f60b.jpg" alt="tiyu" />
        </div>
        <p>
          {{ $t("sportTip") }}
        </p>
        <dl>
          <dd>
            <img src="@/assets/img/games/ball_07.27e95407.png" alt="tiyu" />
          </dd>
          <dd>
            <img src="@/assets/img/games/ball_10.83076285.png" alt="tiyu" />
          </dd>
          <dd>
            <img src="@/assets/img/games/ball_13.d4f78ccd.png" alt="tiyu" />
          </dd>
          <dd>
            <img src="@/assets/img/games/ball_16.67c13a27.png" alt="tiyu" />
          </dd>
          <dd>
            <img src="@/assets/img/games/ball_19.ebb41bc6.png" alt="tiyu" />
          </dd>
        </dl>
        <ul>
          <li @click="goSport">
            <span class="noFixed__1RrZm">{{ $t("sportTip1") }}</span>
          </li>
          <li @click="goSport">
            <span class="noFixed__1RrZm">{{ $t("sportTip2") }}</span>
          </li>
          <li @click="goSport">
            <span class="noFixed__1RrZm">{{ $t("sportTip3") }}</span>
          </li>
        </ul>
      </div>
    </div>
    <LoginDialog
      v-if="isShow"
      @close="
        () => {
          isShow = false;
        }
      "
    />
  </div>
</template>
<script>
import LoginDialog from "@/components/loginDialog.vue";
export default {
  name: "Sports",
  components: { LoginDialog },
  data() {
    return {
      isShow: false,
    };
  },
  methods: {
    goSport() {
      let isLogin = localStorage.getItem("TOKEN") ? true : false;
      if (!isLogin) {
        this.isShow = true;
      }
    },
  },
};
</script>
<style lang="less" scoped>
.sport {
  width: 100%;
  min-height: 850px;
  background: url(../../../assets/img/games/ballBg_bgimg.png);
  background-size: 100% auto;
  .ball_box__Gbv5A {
    width: 1200px;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
    .icon__3hKmh {
      float: left;
      padding-top: 20px;
    }
    .text__3EI77 {
      float: right;
      width: 590px;
      .tit__3lMQF {
        padding: 0 0 40px;
      }
      p {
        line-height: 28px;
        font-size: 14px;
        width: 490px;
        margin: 0 auto;
        color: #666;
      }
      dl {
        text-align: center;
        line-height: 75px;
        padding: 45px 0;
        dd {
          display: inline-block;
          padding: 0 7px;
          vertical-align: middle;
        }
      }
      ul {
        padding: 0 50px;
        li {
          display: inline-block;
          padding: 10px 30px;
          span {
            width: 185px;
            height: 54px;
            display: block;
            text-align: center;
            line-height: 54px;
            border-radius: 27px;
            font-size: 18px;
          }
          .noFixed__1RrZm {
            color: #261604;
            box-shadow: 0 5px 10px #fff073;
            background: #ffc148;
            font-weight: 600;
          }
        }
      }
    }
  }
}
</style>
